package cn.caojun.auth.service;

import cn.caojun.auth.domain.Role;
import cn.caojun.auth.dto.RoleMenuDTO;
import cn.caojun.auth.dto.RolePermissionDTO;
import cn.caojun.auth.query.RoleQuery;
import cn.caojun.basic.service.IBaseService;
import cn.caojun.basic.utils.PageList;

import java.util.List;

public interface IRoleService extends IBaseService<Role> {

    void setRolePermission(RolePermissionDTO rolePermissionDTO);

    List<String> getPermissionById(Long roleId);

    List<String> getMenuById(Long roleId);

    void setRoleMenu(RoleMenuDTO roleMenuDTO);
}
